var routes = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    path: '/login',
    component: Login
  },
  {
    path: '/chat',
    component: Chat
  }
]

var router = new VueRouter({
  routes: routes
})